package com.dingshang.dsapp.mapper;

import com.dingshang.dsapp.entity.Navigation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NavigationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Navigation record);

    int insertSelective(Navigation record);

    Navigation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Navigation record);

    int updateByPrimaryKey(Navigation record);

    List<Navigation> listFirstKeyValue(@Param("status") Integer status);

    List<Navigation> listSecondKeyValue(@Param("parentId") Integer parentId, @Param("status") Integer status);
}